public class practice5
{public static void main(String[] args)
{
	int i;
	boolean flag=true;//false
	boolean flag1=false;
	int []a=new int[100];
	int []b={1,5,8,5,9};
	int []c=b;
	for(i=0;i<c.length;i++)
	{
		System.out.println(i+" "+c[i]);
	}
	c[0]=9;
	System.out.println(b[0]);
	int []d={9,5,8,5,9};
	if(d==b)
	{
		System.out.println(flag);
	}
	else
		System.out.println(flag1);
		if(d[0]==b[0])
		{System.out.println(flag);}
		else
			System.out.println(flag1);
}
}
